﻿<div class="umbracoDialog umb-dialog" ng-controller="UE.DealerConfigurationController as vm">
    <div class="umb-dialog-body">
        <div class="umb-pane">
            <div class="control-group umb-control-group">
                <div class="umb-el-wrap ">
                    <span class="control-label"><localize key="dealercnf_platform"></localize></span>
                    <div class="controls controls-row">
                        <select class="umb-editor umb-dropdown valid" ng-model="configuration.platform">
                            <option value="" localize-option="dealercnf_optiondefault"></option>
                            <option value="bd" localize-option="dealercnf_baidu"></option>
                            <option value="qq" localize-option="dealercnf_qq"></option>
                        </select>
                    </div>
                </div>
                <div class="umb-el-wrap ">
                    <span class="control-label"><localize key="dealercnf_appkey"></localize></span>
                    <div class="controls controls-row">
                        <input type="text" class="umb-editor umb-text" ng-model="configuration.appkey" />
                    </div>
                </div>
                <div class="umb-el-wrap ">
                    <span class="control-label"><localize key="dealercnf_listview"></localize></span>
                    <div class="controls controls-row">
                        <label class="checkbox no-indent">
                            <input type="checkbox" class="ng-pristine" ng-model="configuration.listview" value="y">
                            <localize key="dealercnf_listviewdesc" class="ng-isolate-scope ng-scope"></localize>
                        </label>
                    </div>
                </div>
                <div class="umb-el-wrap ">
                    <p style="color:#ff0000;margin-top:20px;">!!!<localize key="dealercnf_changetips"></localize></p>
                </div>
            </div>
        </div>
    </div>
    <div class="umb-dialog-footer btn-toolbar umb-btn-toolbar">
        <a href="javascript:;" class="btn btn-link" onclick="UmbClientMgr.closeModalWindow()"><localize key="actions_cancel"></localize></a>

        <umb-button action="saveConfiguration()"
                    type="button"
                    button-style="success"
                    state="vm.buttonState"
                    shortcut="ctrl+c" 
                    label-key="actions_save" 
                    disabled="vm.buttonState === 'busy'">
        </umb-button>
    </div>
</div>